// 去除按钮默认样式
@mixin clearBtn{
    border: 0;
    background-color: transparent;
    outline: none;
}

// 图片居中显示
@mixin imgCenter{
    width:100%;
    height: 50%;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    &>img{
        width:100%;
    }
}
#login {
    // 头部logo部分
    height: 100%;
    .header {
        width: 100%;
        .header-con {
            width: 1200px;
            margin: 0 auto;
            .header-logo {
                width: 240px;
                height: 120px;
                position: relative;
                .header-logo-con {
                    @include imgCenter;
                }
            }
        }
    }
    // 主体部分
    .main {
        width: 100%;
        position: relative;
        // 背景图片
        .main-img {
            @include imgCenter;
            height: 100%;
        }
        .from-con {
            position: relative;
            width: 1200px;
            height: 800px;
            margin: 0 auto;
            // 表单头部
            .from-title {
                position: absolute;
                top: 0%;
                right: 5%;
                padding: 30px 50px;
                width: 340px;
                height: 420px;
                &>div {
                    height: 35px;
                    width: 100%;
                    text-align: center;
                    color: #fff;
                    line-height: 35px;
                    font-family: "SourceHanSerifCN-SemiBold";
                    letter-spacing: 12px;
                }
                .from-title-text1 {
                    font-size: 22px;
                    font-weight: 500;
                }
            }
            // 表单部分
            .from {
                position: absolute;
                top: 15%;
                right: 5%;
                padding: 30px 50px;
                width: 340px;
                height: 420px;
                background: #fff;
                .right_text {
                    &>h3 {
                        line-height: 56px;
                        font-size: 28px;
                        &>a {
                            float: right;
                            font-size: 12px;
                            line-height: 70px;
                            color: #666;
                            font-weight: normal;
                            &>span {
                                color: red;
                            }
                        }
                    }
                    .form-input {
                        position: relative;
                        &>p {
                            width: 100%;
                            height: 44px;
                            margin-top: 10px;
                            &>input {
                                padding-left: 5px;
                                width: 100%;
                                height: 44px;
                                border: 1px solid #DDDDDD;
                                text-indent: 5px;
                                border-radius: 5px;
                                background-color:green;
                                cursor: pointer;
                                user-select:none !important;
                            }
                            &>a {
                                float: right;
                                color: #666;
                                font-size: 14px;
                            }
                            .button {
                                width: 100%;
                                background:linear-gradient(90deg,rgba(217,46,30,1),rgba(255,86,43,1));
                                height: 45px;
                                color: #FFFFFF;
                                border: 0;
                                text-align: center !important;
                            }
                            #yanzhengma {
                                width: 45%;
                                background-color:skyblue !important;
                            }
                            .btn2 {
                                float: right;
                            }
                        }
                        .errText {
                            height: 20px;
                            color: red;
                            font-size: 12px;
                            margin-top: 0;
                            line-height: 35px;
                            padding-left: 5px;
                            opacity: 0.6;
                        }
                        // 验证查收文字
                        .yanzhengmaTip {
                            position: absolute;
                            width: 300px;
                            height: 20px;
                            top: 125px;
                            left: 5px;
                            color: red;
                            font-size: 8px;
                        }
                    }
                }
            }
        }
    }
}

// element ui 
/* .el-form-item__label{
    width:0 !important;
    font-size: 0;
} */

.el-form-item__content{
    margin-left:0 !important;
}